<?php
class Seek extends Zend_Db_Table {
	protected $_name = "cc_seek";
	/**
	 * 取公司类型（大类）
	 * @access public
	 * @return array 公司大类数组
	 */
	public function getbType(){
		$sql = "select distinct ctype from cc_seek";
		$res = $this->getAdapter()->fetchAll($sql);
		return $res;
	}
	/**
	 * 取小类
	 * @access public
	 * @return array 公司小类数组
	 */
	public function getsType(){
		$sql = "select distinct ctype1 from cc_seek";
		$res = $this->getAdapter()->fetchAll($sql);
		return $res;
	}
}
?>